import React from 'react';
import zh_CN from 'antd/lib/locale-provider/zh_CN';
import ComponentWarp from './ComponentWarp';
import NoSelect from './NoSelect';
import MobileTopOffset from './MobileTopOffset';

class MobileComponentWarp extends React.Component {
	
	render() {
		return (
			<NoSelect>
				<ComponentWarp currentKey='mobileComponentWarp' key={this.props.currentKey || (this.props.location && this.props.location.pathname) || 'mobileComponentWarp'}>
					{this.props.children}
				</ComponentWarp>
			</NoSelect>
		);
	}
	
}

export default MobileComponentWarp;